'use strict';
angular.module('app').controller('favoriteCtrl', ['$http', '$scope', function ($http,$scope) {
    $http.get('data/myFavorite.json').then(function successCallBack(resp) {
        $scope.list = resp.data;
    }, function errorCallBack(resp) {

    });
}]);